package com.k2data.k2app.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BomDTO implements Serializable {

    @Transient
    private static final long serialVersionUID = -7788086747444706603L;

    private Long id;
    private Long tDeviceId;
    private Long bomId;
    private Long deviceId;
    private Long parentId;
    private String type;
    private String spec;
    private String name;
    private String imageUrl;
    private List<BomDTO> children;

    private Integer isDelete;

}
